.. _Metrics Parametric Frequency Sweep:

Metrics for the Parametric Frequency Sweep model with the GUI
=================================================================

The **Metrics** tab calculates a set of metrics on the provided dataset. 

Metrics, provided for **Parametric Frequency Sweep** are: 

.. math:: \frac{ \|prediction - reference\|_{fro}}{\|reference\|_{fro}}

.. math:: \frac{max(|prediction - reference|)}{max(|reference|)}


* Switch to the **Metrics** tab

* To calculate metrics, click on the dataset in the **Evaluation files** section. Use **Aditional +** to add the datasets. For metrics calculation both **input file** and **output file** containing the data have to be provided (see :std:ref:`Data preparation for NeurEco Parametric Frequency Sweep GUI`).

* **Metrics** are calculated and the results are updated automatically

* **Metrics** tab provides also a **Plot reference vs. prediction** for the selected dataset.

An example of a result looks as follows:

.. figure:: /images/GUIMetricsPFS.png
  :width: 700
  :alt: GUIMetricsPFS
  :align: center

  GUI operations: metrics evaluation for **Parametric Frequency Sweep**, test case :std:ref:`FSS test case`

.. Note::
    
  | By default, the evaluation of metrics is performed with the last model available in the checkpoint.
  | Use the checkpoint slider in the bottom to choose any other available model and get its metrics.